"""
刘尧第8题
"""
x = 0
for a in range(0,100,+2):
    print(a, end=' ')
    x += 1
    if x % 10 == 0:
        print()

    
                    

